package com.ws.client.action;

import static org.junit.Assert.*;

import org.junit.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class CGoodsActionTest {

	@Test
	public void testGoods_list() {
		ApplicationContext ac=new ClassPathXmlApplicationContext(new String[]{"applicationContext.xml"});
		CGoodsAction cGoodsAction=(CGoodsAction) ac.getBean("cGoodsAction");
		String str=cGoodsAction.goods_list();
		System.out.println(str);
	}

}
